#include<stdio.h>
#include<ctype.h>

int main()
{
    char s1[100];
    char s2[100];
    scanf("%s", s1);
    int cnt = 0;
    for (int i = 0; s1[i] != '\0'; i++)
        if (isalpha(s1[i]))
        {
            s2[cnt] = s1[i];
            cnt++;
        }
    s2[cnt] = '\0';
    printf("%s", s2);
    return 0;
}